package com.zelma.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author zelma
 * @email 1239115389@qq.com
 * @date 2022-01-06 16:54:29
 */
@Data
@TableName("admin_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 订单编号
	 */
	@TableId
	private Integer orderId;
	/**
	 * 用户编号
	 */
	private Integer userId;
	/**
	 * 房源编号
	 */
	private Integer resourceId;
	/**
	 * 支付金额
	 */
	private Double orderPayment;
	/**
	 * 支付时间
	 */
	private Date orderPaytime;
	/**
	 * 订单类型
	 */
	private Integer resourceOrderId;
	/**
	 * 订单类型
	 */
	private Integer tableLogicId;
}
